package com.lgd.springboot;

import com.alibaba.fastjson.annotation.JSONField;

import java.util.Date;

/**
 * Created by 299174105 on 2017/8/15.
 */
public class Person {
    private String name;
    private int age;
    @JSONField(format = "yyyy-MM-dd HH:mm")
    private Date birthday;
    @JSONField(serialize = false)
    private String city;

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }
}
